/** When your routing table is too long, you can split it into small modules**/
import Layout from '@/layout/index'
// 模板
import templatesRouter from './modules/template'

// 样式路由
import styleRouter from './modules/style'

// 代码片段路由
import snippetRouter from './modules/snippet'

export default {
  path: '/',
  component: Layout,
  children: [
    // 样式
    ...styleRouter,
    // 页面示例
    ...templatesRouter,
    // 页面示例
    ...snippetRouter,
  ]
}
